Make a test a bit more robust to the environment
authorAlex Crichton <alex@alexcrichton.com>
Fri, 8 Apr 2016 20:30:45 +0000 (13:30 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 8 Apr 2016 20:31:16 +0000 (13:31 -0700)
commitbc8e3322c57414d78036f9837ec03183e96845a3
tree253823e4f12a0d189d0771b6fe3c311c1e88dbd3
parent31214eba27a935933f00702df189e764937d65af
Make a test a bit more robust to the environment

Don't filter out PATH as `rustc` may be in that directory (e.g. when using
rustup) and otherwise just have a longer subcommand.

Closes #2553
tests/test_cargo.rs